#ifndef WINDOWFINDER_H
#define WINDOWFINDER_H

#include <window.h>
#include "structs.h"
#include <unordered_set>

namespace UDock {

class IWindowFinder {
public:
    virtual Window windowFromPoint(const Point& point, const std::unordered_set<Window>& widgets_to_ignore) = 0;
    virtual bool isFirstDescendantOfSecond(Window first, Window second) = 0;
    virtual void refresh(){}
};

}

#endif // WINDOWFINDER_H
